<?php
namespace jy_jianghu;
defined('BY_JYA') or exit('error');
/*
	任务
*/
class task extends \plugin{
	/*
		团UP
	*/
	public function upzhanli(){
		$params=array('uptime <'=>time()-5*60);
		$list=pdo_getall('jy_jianghu_bangpai',$params);	
		foreach($list as $k=>&$v){
			$_SESSION['uniacid']=$v['uniacid'];
			if($v['uniacid'] && $v['mid']){
				$this->model('model')->getzhanli($v);
			}
		}
		return true;
	}
}